//
//  LLGoodsDetailBottomView.h
//  LoveLove
//
//  Created by 肖兰月 on 2019/4/7.
//  Copyright © 2019 wkf. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol LLGoodsDetailBottomViewDelegate <NSObject>
@optional
- (void)goodsDetailBottomViewDidClickButtonWithIndex:(NSInteger)index;
@end

typedef NS_ENUM(NSInteger, LLGoodsDetailBottomViewType) {
    LLGoodsDetailBottomViewTypeSwitch,
    LLGoodsDetailBottomViewTypeOther
};


@interface LLGoodsDetailBottomView : UIView
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;
- (instancetype)initWithFrame:(CGRect)frame type:(LLGoodsDetailBottomViewType)type;

@property (weak, nonatomic) id<LLGoodsDetailBottomViewDelegate> delegate;
@end


